CXX = g++
LIB_FLAGS = -llqr -larmadillo -lm -lmgl 
OPT = -std=gnu++11
CXXFLAGS = $(DEBUG) $(FINAL) $(OPT) $(EXTRA_OPT)
all: demo

demo: demo.o
	$(CXX) $(CXXFLAGS) -L../lib  -o $@  $^  $(LIB_FLAGS) `pkg-config --libs itpp`

demo.o:demo.cpp
	$(CXX) $(CXXFLAGS) -I../include -c $^

.PHONY: clean

clean:
	rm -f *.o *.eps *.csv demo
